home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util1 / wbs12.lha / WBStartup / SMakeFile < prev    next >
Makefile  |  1995-11-25  |  2KB  |  71 lines

  1. #
  2. # SMakeFile pour WBStartup
  3. #
  4.  
  5. APP  = WBStartup
  6. EXE  = WBS
  7.  
  8. LIBS = LIB:sc.lib LIB:amiga.lib LIB:debug.lib
  9. STRT = LIB:c.o
  10.  
  11. OBJS = WBS.o
  12.  
  13. ##############################################################################
  14. # Tout ce qui doit être construit...
  15. #
  16. all:         $(EXE).db $(EXE)
  17.  
  18. ##############################################################################
  19. # Construction du fichier include de localisation
  20. #
  21. #Strings.h:   $(EXE).cd
  22. #             Catcomp $(EXE).cd CFILE Strings.h CTFILE Catalogs/$(APP).ct
  23. #             @Echo "*N" NOLINE
  24.  
  25. ##############################################################################
  26. # Construction de l'exécutable AVEC informations de débogage
  27. #
  28. $(EXE).db:   $(STRT) $(OBJS) $(LIBS)
  29.              #@Bump Version.c QUIET ONLYDATE
  30.              #@Sc Version.c NOGST NOVERSION NOVERBOSE
  31.              SLink <with <
  32.                    FROM $(STRT),$(OBJS)
  33.                    TO $(EXE).db
  34.                    LIBRARY $(LIBS)
  35.                    SMALLCODE SMALLDATA VERBOSE ADDSYM DEFINE ___main=___tinymain
  36.                    NOICONS
  37. #----------------- Seulement si UtilLib est spécifié dans SCOPTIONS :
  38.                    WITH LIB:utillib.with
  39.                    <
  40.  
  41. ##############################################################################
  42. # Construction de l'exécutable SANS informations de débogage
  43. #
  44. $(EXE):      $(EXE).db
  45.              SLink $(EXE).db TO $(EXE) STRIPDEBUG
  46.  
  47. ##############################################################################
  48. # Met l'archive à jour
  49. #
  50. LHAPAT = ~(\#?(.o|.oo|.obj|.db|.db.info))
  51.  
  52. arc:
  53.              LHa -x -r -a -e u Archives:$(APP).lha $(LHAPAT)
  54.  
  55. ##############################################################################
  56. # Efface les objets
  57. #
  58. clean:
  59.              -delete \#?(.o|.oo|.obj)
  60.  
  61. ##############################################################################
  62. # Règles par défaut
  63. #
  64. .c.o:
  65.              Sc $*.c
  66.  
  67. ##############################################################################
  68. # Dépendances
  69. #
  70. WBS.o: WBS.c
  71.